//
//  LFShopCollectModel.m
//  LoveFruit
//
//  Created by 马海江 on 16/9/27.
//  Copyright © 2016年 张令林. All rights reserved.
//

#import "LFShopCollectModel.h"

@implementation LFShopCollectModel

- (void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeObject:_name forKey:@"name"];
    [aCoder encodeObject:_time forKey:@"time"];
    [aCoder encodeObject:_address forKey:@"address"];
}
- (instancetype)initWithCoder:(NSCoder *)aDecoder{
    self = [super init];
    if (self) {
        _name = [aDecoder decodeObjectForKey:@"name"];
        _time = [aDecoder decodeObjectForKey:@"time"];
        _address = [aDecoder decodeObjectForKey:@"address"];
    }
    return self;
}
@end
